<template>
  <div class="personal">
    <div class="content">
      <h1 class="per">个人信息</h1>
      <div class="info">
        <div class="card">
          <p>0091112121212</p>
          <p>12341112332</p>
        </div>
        <div class="perNum">
          <p>
            <span>0</span>
            <span>关注医生</span>
          </p>
          <p @click="$router.push('/patient')">
            <span>1</span>
            <span>就诊人</span>
          </p>
        </div>
        <div class="other">
          <h3>其他功能</h3>
          <van-grid :column-num="3">
            <van-grid-item
              v-for="value in 7"
              :key="value"
              icon="photo-o"
              text="文字"
            />
          </van-grid>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "personal",

  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>
<style lang="scss" scoped>
.personal {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  .content {
    width: 90%;
    .per {
      font-size: 30px;
      font-weight: bold;
      margin-bottom: 20px;
      letter-spacing: 10px;
      margin-left: 10px;
    }
    .info {
      width: 100%;
      .card {
        line-height: 30px;
        text-align: left;
        padding: 0 10px;
      }
      .perNum {
        height: 50px;
        display: flex;
        justify-content: space-between;
        margin: 20px auto;
        p {
          width: 30%;
          span {
            display: block;
            line-height: 25px;
          }
          span:last-child {
            font-size: 14px;
            color: #404040;
          }
        }
      }
      .other {
        overflow: hidden;
        h3 {
          font-weight: bold;
          font-size: 18px;
          text-align: left;
          margin: 8px;
        }
      }
    }
  }
}
</style>